<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:67:"/data/release/shop/public/../application/home/view/comment/add.html";i:1511407304;s:67:"/data/release/shop/public/../application/home/view/public/base.html";i:1511407309;}*/ ?>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" type="text/css" href="../../static/home/css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../../static/home/css/style.css"/>
		<link rel="stylesheet" type="text/css" href="../../static/home/css/foundation-datepicker.css"/>
		<link rel="stylesheet" type="text/css" href="../../static/home/css/font-awesome.css"/>
		<script src="../../static/home/js/jquery-1.9.1.min.js" type="text/javascript" charset="utf-8"></script>
		<title></title>
	</head>


<body>
<div class="bj">
	<!--头部-->
	
	<div class="head">
		<div class="h-top">
			<ul>
				<li><a href="#"></a><span></span></li>
				<li><a href="#"></a><span></span></li>
				<li><a href="#"></a><span></span></li>
				<li><a href="#"></a></li>
			</ul>
			<div class="clear"></div>
		</div>
		<div class="h-name">
			<div class="name">
				<div class="logo left">
					<a href="#"><img src="../../static/home/img/logo.png" style="height: 40px;"/></a>
				</div>
				<div class="assistant right">
					<div class="img">
						<img src="../../static/home/img/assistant.png"/>
					</div>
					<div class="b-div">
						<img src="../../static/home/img/assistant.png"/>
						<p class="t2"><a href="../business/index">账号设置</a></p>
						<p class="t2"><a href="../index/quitLogin">退出登录</a></p>
					</div>
				</div>

			</div>
		</div>
	</div>
	
	<!--内容-->
	<div class="c">
		<div class="content">
			
			<div class="c-l left">
						<div class="c-left">
							<div class="list">
								<div class="">
									<i class="statistics"></i><span>统计分析</span>
								</div>
								<ul>
									<li><a href="../index/index">概况分析</a></li>
									<li><a href="../index/user">用户分析</a></li>

								</ul>

							</div>



							<div class="list">
								<div class="">
									<i class="imgicon"></i><span>图片管理</span>
								</div>
								<ul>
									<li><a href="../banner/index">图片管理</a></li>
								</ul>

							</div>

							<div class="list">
								<div class="">
									<i class="product"></i><span>产品管理</span>
								</div>
								<ul>
									<li><a href="../commtype/index">分类管理</a></li>
									<li><a href="../goods/index">商品管理</a></li>
									<li><a href="../integral/index">积分商品管理</a></li>
									<li><a href="../freight/index">运费模板管理</a></li>

								</ul>
							</div>

							<div class="list">
								<div class="">
									<i class="member"></i><span>会员管理</span>
								</div>
								<ul>
									<li><a href="../user/index">会员列表</a></li>
								</ul>
							</div>

							<div class="list">
								<div class="">
									<i class="order"></i><span>订单管理</span>
								</div>
								<ul>
									<li><a href="../order/index">待付款</a></li>
									<li><a href="../order/delivergoods">待发货</a></li>
									<li><a href="../order/takegoods">待收货</a></li>
									<li><a href="../order/complete">已完成</a></li>
									<li><a href="../order/occlude">已关闭</a></li>

								</ul>

							</div>

							<div class="list">
								<div class="">
									<i class="assets"></i><span>提现管理</span>
								</div>
								<ul>
									<li><a href="../takeout/index">提现审核</a></li>
									<li><a href="../takeout/record">提现记录</a></li>
								</ul>
							</div>
							<div class="list">
								<div class="">
									<i class="assets"></i><span>资产管理</span>
								</div>
								<ul>
									<li><a href="../record/index">交易记录</a></li>
								</ul>
							</div>
							<div class="list">
								<div class="">
									<i class="voucher"></i><span>优惠券</span>
								</div>
								<ul>
									<li><a href="../coupon/index">优惠券列表</a></li>


								</ul>
							</div>
							<div class="list">
								<div class="">
									<i class="hzpnews"></i><span>资讯管理</span>
								</div>
								<ul>
									<li><a href="../hzpnews/index">资讯列表</a></li>

								</ul>
							</div>

							<div class="list">
								<div class="">
									<i class="comment"></i><span>评论管理</span>
								</div>
								<ul>
									<li><a href="../comment/index">评论列表</a></li>

								</ul>
							</div>


							<div class="list">
								<div class="">
									<i class="setup"></i><span>基本设置</span>
								</div>
								<ul>
									<li><a href="">基本设置</a></li>
									<li><a href="../express/index">快递设置</a></li>

									<li><a href="../payments/index">支付设置</a></li>

									<li><a href="../business/index">商家基本信息</a></li>
									<!--<li><a href="">管理员信息</a></li>-->
								</ul>
							</div>

						</div>

					</div>

			<!--<div id="main" style="width: 600px;height:400px;"></div>-->
			
			


			
<input type="hidden" name="mun_url" id="mun_url" value="9,0"/>
<style type="text/css">
	canvas{display: none;}
	.1img-section img{display: block;width: 160px;height: 150px;}
	.comment_img{border: 1px solid #d7dde4;margin: 10px;}
	.comment_img img{width: 160px;height: 150px;display: inline-block;margin: 10px;transition:All 0.2s ease-in-out;-webkit-transition:All 0.2s ease-in-out;-moz-transition:All 0.2s ease-in-out;-o-transition:All 0.2s ease-in-out;}
	.comment_img img:hover{ transform:scale(1.5);-webkit-transform:scale(1.5);-moz-transform:scale(1.5);-o-transform:scale(1.5);-ms-transform:scale(1.5);}
</style>
<div class="c-r right">
	<div class="label1">
		<div class="title">
			评论详情
		</div>

		<div class="label">
			<div class="commenttit">
				<p class="left"><b class="minml"><?php echo $data['nickname']; ?></b>与 <span class="minml"><?php echo $data['createtime']; ?></span>对<b class="minml minmr"><?php echo $data['name']; ?></b>发表评论：</p>


				<div id="xzw_starSys" class="right">
					<div class="xzw_starBox" id="xzw_starBox">
						<ul class="star" id="star">
							<li><a href="javascript:void(0)" title="1" class="one-star">1</a></li>
							<li><a href="javascript:void(0)" title="2" class="two-stars">2</a></li>
							<li><a href="javascript:void(0)" title="3" class="three-stars">3</a></li>
							<li><a href="javascript:void(0)" title="4" class="four-stars">4</a></li>
							<li><a href="javascript:void(0)" title="5" class="five-stars">5</a></li>
						</ul>
						<div class="current-rating" id="showb"></div>
						<div class="clear"></div>
					</div>
				</div>
				<p class="right">评论等级：</p>
				<div class="clear"></div>
			</div>
			<div class="commenttext">
				<textarea name="" rows="" cols="" style="min-width: 97.5%;max-width: 97.5%;min-height: 200px;" disabled><?php echo $data['content']; ?></textarea>
				<p></p>
			</div>

			<div class="comment_img"><?php if(is_array($data['pics']) || $data['pics'] instanceof \think\Collection || $data['pics'] instanceof \think\Paginator): if( count($data['pics'])==0 ) : echo "" ;else: foreach($data['pics'] as $key=>$vo): ?><img src="<?php echo $vo; ?>"><?php endforeach; endif; else: echo "" ;endif; ?></div>


		</div>

		<div class="label-4">
			<div class="form" id="form" style="padding-left: 0;">

				<form action="insert" method="post" class="form-2">
					<div><label class="ltxt" style="">回复内容：</label>
						<textarea name="reply" rows="" cols="" style="max-width: 640px;width:640px;height: 150px;padding: 10px;font-size: 14px;"></textarea>
						<span></span>
					</div>
					<div class="">

					</div>

					<div>
						<label class="ltxt">图片上传：</label>
						<div class="img-box full">
							<canvas id="canvas"></canvas>
							<section class=" img-section">
								<div class="z_photo upimg-div" >
									<section class="z_file fl">
										<img src="../../static/home/img/a11.png" tppabs="http://www.jq22.com/demo/imgUp201703281022/img/a11.png" class="add-img">
										<input type="file" name="" id="demo_input1" class="file" value="" accept="image/jpg,image/jpeg,image/png,image/bmp" multiple onchange="UpLoad(this)"/>
									</section>
									<div class="clear"></div>
								</div>
							</section>
						</div>
						<span></span>
					</div>
					<input type="hidden" name="reply_pics" id="imgurl" value="" />
					<input type="hidden" name="coid" id="coid" value="<?php echo $data['coid']; ?>" />
					<div class="mtop"><label></label><button class="blue btn-right">完成</button><input type="reset" name="" id="" value="重置" class="blue btn-right"/></div>
					<div class="clear"></div>
				</form>
			</div>

		</div>

	</div>
</div>

<script src="../../static/home/js/jquery-1.9.1.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/home/js/js.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/home/js/img_yasuo.js" type="text/javascript" charset="utf-8"></script>


<script type="text/javascript">
	var  sum_grade = "<?php echo $data['sum_grade']?>";
	$("#showb").css('width',24*sum_grade)

	//开始加载图片
	$.ajax({
		type:"get",
		url:'data/img.json',
		data: '',
		dataType: "json",
		success: function(data){
			for (var i = 0; i < data.length; i++) {
				//alert(data[i].imgurl)
				var asd = "<img src="+data[i].imgurl+"/>"
				$(".comment_img").prepend(asd)
			}
		},
		error:function(){
			//alert('失败')
		}
	});


	$(".btn-right").click(function(){
		//获取图片路径
		var imgurl = '';						//图片存储URL地址
		var img = $(".up-section");
		for (var i = 0; i < img.length; i++) {
			imgurl += img.eq(i).find('.up-img').attr('src')+'_-_'
		}
		$("#imgurl").val(imgurl)

	})
</script>

			<!--<div id="main" style="width: 600px;height:400px;"></div>-->
		</div>

	</div>

	<!--尾部-->
	
	<div class="foot">
		Copyright © 2016 - 2017 qingful.com All Rights Reserved
	</div>
	
	<!--返回顶部-->


</div>
<script src="../../static/home/js/dateRange.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/home/js/js.js" type="text/javascript" charset="utf-8"></script>
<script>
	//索引0开始
	var mun_url = $('#mun_url').val();											//获取页面参数
	var arrmun_url = mun_url.split(",")											//转成数组格式
	var leftul = $(".c .c-l .list ul").eq(arrmun_url[0]).find('li').length		//获取元素数量
	$(".c .c-l .list ul").eq(arrmun_url[0]).css('height',50*leftul)				//设置高度
	$(".c .c-l .list ul").eq(arrmun_url[0]).find('li').eq(arrmun_url[1]).attr('class','act')	//添加样式
</script>
</body>

</html>








